/**
 * Created by liulingling on 17/8/22.
 */
var express = require('express');
var router = express.Router();
var async = require('async');
var crypto = require('crypto');

/**
 * 跳转到订单页面
 * */
router.get('/', function(req, res, next) {
    res.render('order/orderList', { title: '订单页面' });
});

/**
 * 跳转到订单详情页面
 * */
router.get('/orderDetail', function(req, res, next) {
    var orderId=req.query.id;
    res.render('order/orderDetail', { title: '订单详情页面',orderId:orderId });
});
module.exports = router;